Aventura\Wprss\Core\Model\SettingsAbstract B

Total Complexity 87
Dependencies 6
Dependents 2
Total lines 851
Lines of code 347
Logical lines of code 144
Comment lines 373
Methods 45
Properties 5

Methods 45

Method Rating Maintainability Complexity Lines of code
_registerSection()
S
51 7 27
getFieldHtml()
S
56 6 18
_registerField()
S
54 5 23
renderCheckboxField()
S
55 4 19
getFieldRenderers()
S
62 4 12
getNumberHtml()
S
54 2 22
getTextHtml()
S
58 2 16
getData()
S
70 3 6
renderSelectField()
S
60 2 13
renderNumberField()
S
60 2 13
renderTextField()
S
60 2 13
_loadValues()
S
61 2 12
_renderSettingsPage()
S
70 2 6
getIdPrefix()
S
69 2 6
resolveDataSource()
S
71 2 6
getSlugPrefix()
S
69 2 6
resolveCommand()
S
70 2 6
_renderSectionHeader()
S
73 2 5
getCheckboxHtml()
S
70 2 6
getSectionsFields()
S
68 2 7
getNameHtml()
S
67 2 7
isTrue()
S
77 2 3
getDefaultValues()
S
68 2 7
getValuesDb()
S
67 2 8
register()
S
65 2 9
createLocalDataSource()
S
78 1 3
getSelectHtml()
S
78 1 3
getTrueValue()
S
81 1 3
getFalseValue()
S
81 1 3
createCommand()
S
71 1 6
getMainOptionName()
S
75 1 4
_getSectionsFields()
S
100 1 0
getPluginCode()
S
81 1 3
getSectionId()
S
75 1 4
getTabSlug()
S
79 1 3
_getFieldRenderers()
S
66 1 8
renderField()
S
80 1 3
_registerSettingsPage()
S
100 1 0
_registerSetting()
S
67 1 9
addTab()
S
76 1 4
getTabData()
S
71 1 6
_isValuesLoading()
S
81 1 3
isValuesLoaded()
S
81 1 3
_getDefaultValues()
S
100 1 0
getOption()
S
79 1 3